package com.rhb.cg.create;

import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.List;


import junit.framework.TestCase;

public class CreateTest extends TestCase {
	protected void setUp(){
	}
	
	public void testDistribute(){
		String from_dir = "D:\\workspace1\\xgcg\\template\\eclipse";
		String to_dir = "c:\\rhb";
		String merge_definition_name = "D:\\workspace1\\xgcg\\src\\create-definition.xml";
		String projectName = "test";
		
		Create create = new Create();
		try {
			create.eclipse(from_dir,to_dir,merge_definition_name,projectName);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
